function bg = HighlightEdges(edges, bg, highlightColor)

if (nargin < 3)
    highlightColor = [1 0 0];
end

try
    set(bg.edges,'LineColor',[0 0 0]);
    ColorEdges(edges, bg, highlightColor);
catch ex
    warning(ex.message)
end